<?php

class GroupesondageTable extends Doctrine_Table
{
	public function activeDeactiveTheme($valeur,$etat){
		$q = Doctrine_Query::create()
		  -> update('groupesondage')
		  -> set('etat=?',$etat)
		  -> where('id =?', $valeur);
		  
		return $q->execute();
	}
}